package com.love.marriage.userChatInfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.common.vo.BaseVo;
import com.love.marriage.config.Long2StringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户聊天记录表Vo
 * author:       mybatisPlus
 * createDate:   2024-10-20 01:13:08
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserChatInfoVo", description = "用户聊天记录表Vo")
public class UserChatInfoVo extends BaseVo<UserChatInfoVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "聊天用户ID", type = "Long", implementation = Long.class)
    private Long userId;

    @Schema(description = "聊天消息数量", type = "Integer", implementation = Integer.class)
    private Integer chatCount;

    @Schema(description = "类型", type = "String", implementation = String.class)
    private String type;
}
